/**
 * 
 */
package ee.fujitsu.entity;

/**
 * The Class Customer.
 *
 * @author Andrei
 * 
 * 05.09.2012
 * class of store clients
 */
public class Customer {

	/** The name. */
	private String name;
	
	/** The firstname. */
	private String firstname;
	
	/** The bonus. */
	private int bonus;
	
	/**
	 * Instantiates a new customer.
	 *
	 * @param name the name
	 * @param firstname the firstname
	 */
	public Customer(String name, String firstname){
		this.name = name;
		this.firstname = firstname;
		
	}
	
	
	/**
	 * Gets the bonus.
	 *
	 * @return the bonus
	 */
	public int getBonus() {
		return bonus;
	}
	
	/**
	 * Sets the bonus.
	 *
	 * @param bonus the bonus to set
	 */
	public void setBonus(int bonus) {
		this.bonus = bonus;
	}
	
	/**
	 * Gets the name.
	 *
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * Sets the name.
	 *
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * Gets the firstname.
	 *
	 * @return the firstname
	 */
	public String getFirstname() {
		return firstname;
	}
	
	/**
	 * Sets the firstname.
	 *
	 * @param firstname the firstname to set
	 */
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

}
